WhisperMuse::Application.routes.draw do
  
  # define root
  root :to => 'user#login_home'
  
  #user
  get "user/new"
  
  get "user/login"
  
  post "user/process_login"

  get "user/my_account"
  
  get "user/home"

  
  post "user/search"
  
  
  post "user/display"
  
  get "user/display"

  get "user/show"
  
  get "user/show_admin"
  
  post "user/destroy"
  
  get "user/destroy"
  
  post "user/promote"
  
  get "user/promote"
  
  
  post "user/create_user"
  
  get "user/create_account"
  
  
  post "user/edit_user"
  
  get "user/edit_account"
  
  
  post "user/edit_user"
  
  post "user/create_user"
  

  #song
  get "song/status"

  post "song/search"
  
  
  post "song/display"
  
  get "song/display"

  get "song/show"
  
  get "song/show_admin"
  
  post "song/destroy"
  
  get "song/destroy"
  

  post "song/create_review"

  get "song/new_review"
  
  get "song/create_song_page"
  
  post "song/create_song"


  #user_song_comment
  get "user_song_comment/create_review"

  post "user_song_comment/create_review"

  get "user_song_comment/new_review"

  
  #album
  get "album/status"

  post "album/search"
  

  post "album/display"
  
  get "album/display"

  get "album/show"
  
  get "album/show_admin"
  
  post "album/destroy"
  
  get "album/destroy"
  
  
  get "album/create_album_page"
  
  post "album/create_album"
  
  #resources :user
  
  #get "user/process_login"
  
  #get "user/my_account"

  #get "user/logout"

  # The priority is based upon order of creation:
  # first created -> highest priority.

  # Sample of regular route:
  #   match 'products/:id' => 'catalog#view'
  # Keep in mind you can assign values other than :controller and :action

  # Sample of named route:
  #   match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
  # This route can be invoked with purchase_url(:id => product.id)

  # Sample resource route (maps HTTP verbs to controller actions automatically):
  #   resources :products

  # Sample resource route with options:
  #   resources :products do
  #     member do
  #       get 'short'
  #       post 'toggle'
  #     end
  #
  #     collection do
  #       get 'sold'
  #     end
  #   end

  # Sample resource route with sub-resources:
  #   resources :products do
  #     resources :comments, :sales
  #     resource :seller
  #   end

  # Sample resource route with more complex sub-resources
  #   resources :products do
  #     resources :comments
  #     resources :sales do
  #       get 'recent', :on => :collection
  #     end
  #   end

  # Sample resource route within a namespace:
  #   namespace :admin do
  #     # Directs /admin/products/* to Admin::ProductsController
  #     # (app/controllers/admin/products_controller.rb)
  #     resources :products
  #   end

  # You can have the root of your site routed with "root"
  # just remember to delete public/index.html.
  # root :to => 'welcome#index'

  # See how all your routes lay out with "rake routes"

  # This is a legacy wild controller route that's not recommended for RESTful applications.
  # Note: This route will make all actions in every controller accessible via GET requests.
  # match ':controller(/:action(/:id(.:format)))'
end
